<?php
/**
 * Order address information
 *
 * @author Ishtiaque Shahrier <md.ishtiaque@newgenbd.net>
 * @package order
 * @subpackage models
 */
class address_m_order extends a_base_model_datamapper {

    public function __construct($id=null) {
        $this->table = 'order_addresses';
        $this->has_many = array(
        );

        $this->has_one = array(
        );
        $this->has_one['order_m_order'] = array(
            'class' => 'order_m_order',
            'join_other_as' => 'order',
            'join_self_as' => 'address'
        );
        parent::__construct($id);
    }
}
?>